package nl.rainbowsheep.reisorg.rest.service.service;

import nl.rainbowsheep.reisorg.rest.service.model.TripAccommodation;
import nl.rainbowsheep.reisorg.rest.service.repository.TripAccommodationRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TripAccommodationService {

    @Autowired
    private TripAccommodationRepository tripAccoRepo;

    public TripAccommodation save(TripAccommodation tripAcco) {

        return tripAccoRepo.save(tripAcco);
    }

}
